GrahamDumpleton / wrapt

A Python module for decorators, wrappers and monkey patching.
BSD 2-Clause "Simplified" License
2.06k stars 231 forks source link

Fix missing sys import for getcallargs backport. #97

Closed a-feld closed 7 years ago

a-feld commented 7 years ago

Hi Graham,

While I was looking through the wrapt code I noticed there was a missing sys import in src/wrapt/arguments.py. I've added the import sys in, along with adding a test which exposes the error.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.2%) to 93.368% when pulling cdb1ce7a9bb074ce34d1bc64f48105ddac6669cb on a-feld:develop into 129cac1bf97137a3d49f39ae101da64dde72905f on GrahamDumpleton:develop.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.2%) to 93.359% when pulling 09f65ff2a21cd00355193bcdee22a2289ead2d24 on a-feld:develop into 129cac1bf97137a3d49f39ae101da64dde72905f on GrahamDumpleton:develop.