Skip to main content

NOTICE: On Friday Nov 6, Workspaces will be temporarily unavailable for maintenance.

πŸš€ In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

Join the Treehouse affiliate program and earn 25% recurring commission! πŸ€‘

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • danilo naid
    danilo naid
    3,326 Points

    TEST_NO_ARG

    Posted November 29, 2023 6:54pm by danilo naid
    danilo naid
    3,326 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertRaises

    1 Answer

  • Emily Strobl
    Emily Strobl
    5,429 Points

    assertRaises part 1

    Posted November 20, 2019 6:06pm by Emily Strobl
    Emily Strobl
    5,429 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertRaises

    1 Answer

  • frankgenova
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    frankgenova
    Python Web Development Techdegree Student 15,616 Points

    Python Testing assertRaises challenge 2 of 2 fails with looks like Task 1 is no longer passing

    Posted October 14, 2017 5:09pm by frankgenova
    .a{fill-rule:evenodd;}techdegree
    frankgenova
    Python Web Development Techdegree Student 15,616 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertRaises

    1 Answer

  • Tonderai Makumborenga
    Tonderai Makumborenga
    4,763 Points

    Now add a new test, test_no_args that should also assertRaises(ValueError). This time, call get_anagrams() with no argum

    Posted April 7, 2017 3:19pm by Tonderai Makumborenga
    Tonderai Makumborenga
    4,763 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertRaises

    1 Answer

  • Ammar Fatihallah
    Ammar Fatihallah
    7,417 Points

    assert raises, just can't understand the question.

    Posted January 3, 2017 5:23am by Ammar Fatihallah
    Ammar Fatihallah
    7,417 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertRaises

    1 Answer

  • Alexander Davison
    Alexander Davison
    65,470 Points

    Didn't find a test for `get_anagrams()` using `self.assertRaises()` and an empty string

    Posted December 9, 2016 5:51am by Alexander Davison
    Alexander Davison
    65,470 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertRaises

    1 Answer

  • Mateo Rial
    Mateo Rial
    3,694 Points

    I donΒ΄t understand what I am supposed to do

    Posted December 6, 2016 8:15pm by Mateo Rial
    Mateo Rial
    3,694 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertRaises

    1 Answer

  • Dylan Burge-McCracken
    Dylan Burge-McCracken
    2,641 Points

    someone pls just tell me the awnser to the final task on the second stage of python testing

    Posted November 15, 2015 9:11pm by Dylan Burge-McCracken
    Dylan Burge-McCracken
    2,641 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertRaises

    1 Answer

  • MUZ140921 Fredy Ndhlovu
    MUZ140921 Fredy Ndhlovu
    2,722 Points

    Challenge Task 2 of 2 Am stuck on task 2 Python testing challenge assertIn fail

    Posted July 27, 2015 1:03pm by MUZ140921 Fredy Ndhlovu
    MUZ140921 Fredy Ndhlovu
    2,722 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertRaises

    3 Answers

  • sulaiman gannas
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    sulaiman gannas
    Python Web Development Techdegree Student 17,651 Points

    Not sure where is the mistake

    Posted April 24, 2015 1:20pm by sulaiman gannas
    .a{fill-rule:evenodd;}techdegree
    sulaiman gannas
    Python Web Development Techdegree Student 17,651 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertRaises

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord