diff options
author | Gavin Panella <gavin.panella@canonical.com> | 2011-12-02 09:18:15 +0000 |
---|---|---|
committer | Gavin Panella <gavin.panella@canonical.com> | 2011-12-02 09:18:15 +0000 |
commit | 9f9c91f79e9455674730ccafeeb8979ed902526a (patch) | |
tree | c46243b089d584e276a5321a6d5da6a8501c1f11 | |
parent | ce3238b43400206ffca7dd4b5d594017a1a50004 (diff) | |
download | fixtures-9f9c91f79e9455674730ccafeeb8979ed902526a.tar.gz |
Reverse order of operands to assertNotEqual to follow conventions.
-rw-r--r-- | lib/fixtures/tests/_fixtures/test_tempdir.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fixtures/tests/_fixtures/test_tempdir.py b/lib/fixtures/tests/_fixtures/test_tempdir.py index e70c487..363a9b1 100644 --- a/lib/fixtures/tests/_fixtures/test_tempdir.py +++ b/lib/fixtures/tests/_fixtures/test_tempdir.py @@ -54,7 +54,7 @@ class NestedTempfileTest(testtools.TestCase): starting_tempdir = tempfile.gettempdir() with NestedTempfile(): self.assertEqual(tempfile.tempdir, tempfile.gettempdir()) - self.assertNotEqual(tempfile.tempdir, starting_tempdir) + self.assertNotEqual(starting_tempdir, tempfile.tempdir) self.assertTrue(os.path.isdir(tempfile.tempdir)) nested_tempdir = tempfile.tempdir self.assertEqual(tempfile.tempdir, tempfile.gettempdir()) |