~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_plugins.py

Merge bzr.dev.

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']