Python Forum
how can I test this interactive calculator using pytest
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how can I test this interactive calculator using pytest
#5
Why would you think you need to strip anything from the input? The failing assertion is telling you the output contains the new line character.

There's also no need to keep quoting someone's post in its entirety.
Reply


Messages In This Thread
RE: how can I test this interactive calculator using pytest - by ndc85430 - Dec-18-2022, 06:13 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  call an instance of a class in the interactive nzcan 3 3,003 Aug-23-2018, 10:47 AM
Last Post: nzcan

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020