Skip to content

Conversation

@cpitclaudel
Copy link
Contributor

The original message led to the following being displayed:

pint.errors.DefinitionSyntaxError: While opening units.txt, in line 3:
Could not parse Context definition defaults: '%s'

instead of the intended:

pint.errors.DefinitionSyntaxError: While opening units.txt, in line 3: 
Could not parse Context definition defaults: '(factor=xyz)'

The original message led to the following being displayed:

    pint.errors.DefinitionSyntaxError: While opening units.txt, in line 3:
    Could not parse Context definition defaults: '%s'

instead of the intended:
    
    pint.errors.DefinitionSyntaxError: While opening units.txt, in line 3: 
    Could not parse Context definition defaults: '(factor=xyz)'
@hgrecco
Copy link
Owner

hgrecco commented Apr 17, 2019

bors r+

@hgrecco
Copy link
Owner

hgrecco commented Apr 17, 2019

thanks!

bors bot added a commit that referenced this pull request Apr 17, 2019
791: Fix instantiation of errors.DefinitionSyntaxError in context.py r=hgrecco a=cpitclaudel

The original message led to the following being displayed:

    pint.errors.DefinitionSyntaxError: While opening units.txt, in line 3:
    Could not parse Context definition defaults: '%s'

instead of the intended:
    
    pint.errors.DefinitionSyntaxError: While opening units.txt, in line 3: 
    Could not parse Context definition defaults: '(factor=xyz)'

Co-authored-by: Clément Pit-Claudel <cpitclaudel@users.noreply.github.com>
@bors
Copy link
Contributor

bors bot commented Apr 17, 2019

Build succeeded

@bors bors bot merged commit cb8a3ea into hgrecco:master Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants