Skip to main content

my code works fine and passes al test in check50 error message when testing test_fuel.py but i dont know why i get this error

added 60 characters in body
Source Link
Cliff B
  • 69.3k
  • 4
  • 33
  • 56

:) test_fuel.py exist :( correct fuel.py passes all test_fuel checks expected exit code 0, not 2 :| test_fuel catches fuel.py returning incorrect ints in convert can't check until a frown turns upside down :| test_fuel catches fuel.py not raising ValueError in convert can't check until a frown turns upside down :| test_fuel catches fuel.py not raising ZeroDivisionError in convert can't check until a frown turns upside down :| test_fuel catches fuel.py not labeling 1% as E in gauge can't check until a frown turns upside down :| test_fuel catches fuel.py not printing % in gauge can't check until a frown turns upside down :| test_fuel catches fuel.py not labeling 99% as F in gauge can't check until a frown turns upside down

:) test_fuel.py exist
:( correct fuel.py passes all test_fuel checks
    expected exit code 0, not 2
:| test_fuel catches fuel.py returning incorrect ints in convert
    can't check until a frown turns upside down
:| test_fuel catches fuel.py not raising ValueError in convert
    can't check until a frown turns upside down
:| test_fuel catches fuel.py not raising ZeroDivisionError in convert
    can't check until a frown turns upside down
:| test_fuel catches fuel.py not labeling 1% as E in gauge
    can't check until a frown turns upside down
:| test_fuel catches fuel.py not printing % in gauge
    can't check until a frown turns upside down
:| test_fuel catches fuel.py not labeling 99% as F in gauge
    can't check until a frown turns upside down

:) test_fuel.py exist :( correct fuel.py passes all test_fuel checks expected exit code 0, not 2 :| test_fuel catches fuel.py returning incorrect ints in convert can't check until a frown turns upside down :| test_fuel catches fuel.py not raising ValueError in convert can't check until a frown turns upside down :| test_fuel catches fuel.py not raising ZeroDivisionError in convert can't check until a frown turns upside down :| test_fuel catches fuel.py not labeling 1% as E in gauge can't check until a frown turns upside down :| test_fuel catches fuel.py not printing % in gauge can't check until a frown turns upside down :| test_fuel catches fuel.py not labeling 99% as F in gauge can't check until a frown turns upside down

:) test_fuel.py exist
:( correct fuel.py passes all test_fuel checks
    expected exit code 0, not 2
:| test_fuel catches fuel.py returning incorrect ints in convert
    can't check until a frown turns upside down
:| test_fuel catches fuel.py not raising ValueError in convert
    can't check until a frown turns upside down
:| test_fuel catches fuel.py not raising ZeroDivisionError in convert
    can't check until a frown turns upside down
:| test_fuel catches fuel.py not labeling 1% as E in gauge
    can't check until a frown turns upside down
:| test_fuel catches fuel.py not printing % in gauge
    can't check until a frown turns upside down
:| test_fuel catches fuel.py not labeling 99% as F in gauge
    can't check until a frown turns upside down
Source Link

my code works fine and passes al test in test_fuel.py but i dont know why i get this error

:) test_fuel.py exist :( correct fuel.py passes all test_fuel checks expected exit code 0, not 2 :| test_fuel catches fuel.py returning incorrect ints in convert can't check until a frown turns upside down :| test_fuel catches fuel.py not raising ValueError in convert can't check until a frown turns upside down :| test_fuel catches fuel.py not raising ZeroDivisionError in convert can't check until a frown turns upside down :| test_fuel catches fuel.py not labeling 1% as E in gauge can't check until a frown turns upside down :| test_fuel catches fuel.py not printing % in gauge can't check until a frown turns upside down :| test_fuel catches fuel.py not labeling 99% as F in gauge can't check until a frown turns upside down