Test incorrectly includes argv[0]

Issue #61 on hold
Barry Warsaw created an issue

One of the tests in test_venv.py fails because in fact "-i" does appear in argv[0]. Since argv[0] could be anything (I think), it makes sense to filter this out of the string being tested.

I'll attach a patch, but it's possible that more call sites which test .args should also filter out argv[0].

Comments (4)

  1. Log in to comment