~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_plugins.py

  • Committer: Martin Pool
  • Date: 2008-05-08 04:21:01 UTC
  • mto: This revision was merged to the branch mainline in revision 3415.
  • Revision ID: mbp@sourcefrog.net-20080508042101-c9c0dmqo4not47qm
Compare to None using is/is not not ==

Show diffs side-by-side

added added

removed removed

Lines of Context:
451
451
                bzrlib.plugins.__path__[:len(expected_path)])
452
452
        finally:
453
453
            bzrlib.plugins.__path__ = old_path
454
 
            if old_env != None:
 
454
            if old_env is not None:
455
455
                os.environ['BZR_PLUGIN_PATH'] = old_env
456
456
            else:
457
457
                del os.environ['BZR_PLUGIN_PATH']