Changeset - a3cc41a5cfea
[Not reviewed]
0 1 0
Brett Smith - 6 years ago 2017-12-31 15:04:37
brettcsmith@brettcsmith.org
tests: Run with oxrlib's decimal context.
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
tests/__init__.py
Show inline comments
 
import datetime
 
import decimal
 
import io
 
import pathlib
 
import random
 

	
 
import pytest
 

	
 
from oxrlib import __main__ as oxrmain
 

	
 
decimal.setcontext(oxrmain.decimal_context())
 

	
 
TEST_DIR = pathlib.Path(__file__).parent
 

	
 
class StringIO(io.StringIO):
0 comments (0 inline, 0 general)