Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solution tests fails #43

Closed
simendsjo opened this issue Jan 20, 2019 · 1 comment
Closed

Solution tests fails #43

simendsjo opened this issue Jan 20, 2019 · 1 comment

Comments

@simendsjo
Copy link

$ ./run-tests.sh
................................F
======================================================================
FAIL: TEST 2.6: To be able to do anything useful, we need some basic math
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/nix/store/8z65fg9wa4vxi8sa4v55yyx00yj2wcrb-python3.6-nose-1.3.7/lib/python3.6/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/simendsjo/bekk/fagdag-feb-2019/diy-lang/tests/test_2_evaluating_simple_expressions.py", line 87, in test_basic_math_operators
    assert_equals(3, evaluate(["/", 7, 2], Environment()))
AssertionError: 3 != 3.5

----------------------------------------------------------------------
Ran 33 tests in 0.004s

FAILED (failures=1)
@kvalle
Copy link
Owner

kvalle commented Jan 26, 2019

Worked in Python 2, but not Python 3. Fixed now! :)

@kvalle kvalle closed this as completed Jan 26, 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

No branches or pull requests

2 participants