Commits

Philip Jenvey  committed 31b4552

move this too

  • Participants
  • Parent commits 8d5e396
  • Branches py3k

Comments (0)

Files changed (5)

File pypy/interpreter/test/mypackage/__init__.py

+import sys
+print("__init__ argv:", sys.argv)

File pypy/interpreter/test/mypackage/__main__.py

+import sys
+print("__main__ argv:", sys.argv)

File pypy/interpreter/test/test_app_main.py

                          'mypackage', '__main__.py')
         p = os.path.abspath(p)
         monkeypatch.chdir(os.path.dirname(app_main))
-        data = self.run('-m test2.mypackage extra')
+        data = self.run('-m test.mypackage extra')
         assert "__init__ argv: ['-m', 'extra']" in data
         assert "__main__ argv: [%r, 'extra']" % p in data
 

File pypy/interpreter/test2/mypackage/__init__.py

-import sys
-print("__init__ argv:", sys.argv)

File pypy/interpreter/test2/mypackage/__main__.py

-import sys
-print("__main__ argv:", sys.argv)