diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2017-01-19 14:00:50 +0100 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2017-01-19 20:27:29 +0100 |
commit | 72b753c60f7208ee536dc79bd20b3ba93563668b (patch) | |
tree | 1864d781b05ae2e564ced10659e9c425da00d209 /mitmproxy/test/tutils.py | |
parent | ea20bfb233a9cad44755417ec0a353bfab116fda (diff) | |
download | mitmproxy-72b753c60f7208ee536dc79bd20b3ba93563668b.tar.gz mitmproxy-72b753c60f7208ee536dc79bd20b3ba93563668b.tar.bz2 mitmproxy-72b753c60f7208ee536dc79bd20b3ba93563668b.zip |
provide git information with --version
fixes #1848
Diffstat (limited to 'mitmproxy/test/tutils.py')
-rw-r--r-- | mitmproxy/test/tutils.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/mitmproxy/test/tutils.py b/mitmproxy/test/tutils.py index f5cec1b1..ae0ce2d8 100644 --- a/mitmproxy/test/tutils.py +++ b/mitmproxy/test/tutils.py @@ -20,14 +20,6 @@ def treader(bytes): @contextmanager -def chdir(dir): - orig_dir = os.getcwd() - os.chdir(dir) - yield - os.chdir(orig_dir) - - -@contextmanager def tmpdir(*args, **kwargs): orig_workdir = os.getcwd() temp_workdir = tempfile.mkdtemp(*args, **kwargs) |