diff --git a/src/allmydata/test/test_windows.py b/src/allmydata/test/test_windows.py index 81638f6e4..fddb60389 100644 --- a/src/allmydata/test/test_windows.py +++ b/src/allmydata/test/test_windows.py @@ -120,13 +120,13 @@ class GetArgvTests(SyncTestCase): argv = [executable, save_argv_path.path] + argv returncode = Popen(argv, stdin=PIPE, stdout=PIPE, stderr=PIPE).wait() self.assertThat( - 0, - Equals(returncode), + returncode, + Equals(0), ) with open(saved_argv_path.path, "rt") as f: saved_argv = load(f) self.assertThat( - argv, - Equals(saved_argv), + saved_argv, + Equals(argv), )