diff options
| author | syt <syt@localhost.localdomain> | 2006-11-23 16:08:14 +0100 |
|---|---|---|
| committer | syt <syt@localhost.localdomain> | 2006-11-23 16:08:14 +0100 |
| commit | 1c5abb2841377c9cf56c55646afe995b7ecd777d (patch) | |
| tree | 341d6bdd68d0a13d23c9f711a839eb4dfc644240 /test/regrtest_data | |
| parent | f4fe50e016cb3024cdb59416f43778bf7e04be82 (diff) | |
| download | pylint-1c5abb2841377c9cf56c55646afe995b7ecd777d.tar.gz | |
fix E1011 duplication pb
Diffstat (limited to 'test/regrtest_data')
| -rw-r--r-- | test/regrtest_data/decimal_inference.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/regrtest_data/decimal_inference.py b/test/regrtest_data/decimal_inference.py new file mode 100644 index 0000000..124d65a --- /dev/null +++ b/test/regrtest_data/decimal_inference.py @@ -0,0 +1,8 @@ +"""hum E1011 on .prec member is justifiable since Context instance are built +using setattr/locals :( +""" +import decimal + +decimal.getcontext().prec = 200 +print decimal.getcontext().prec + |
