Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
realpython
/
python-guide
Public
Notifications
You must be signed in to change notification settings
Fork
5.9k
Star
29.8k
Code
Issues
104
Pull requests
32
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Breadcrumbs
History for
python-guide
docs
writing
tests.rst
on
string-formatting-article
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 17, 2018
Host photos locally
dbader
committed
03ed5fb
View commit details
Copy full SHA for 03ed5fb
View code at this point
Browse repository at this point
Commits on Dec 4, 2017
fix make error on ci.rst and tests.rst
Prodesire
committed
5975727
View commit details
Copy full SHA for 5975727
View code at this point
Browse repository at this point
Commits on Nov 27, 2017
New testing tool: Hypothesis
Show description for ce7530b
Zac-HD
committed
ce7530b
View commit details
Copy full SHA for ce7530b
View code at this point
Browse repository at this point
Nose is deprecated, remove suggestion
Show description for eaaddf5
Zac-HD
committed
eaaddf5
View commit details
Copy full SHA for eaaddf5
View code at this point
Browse repository at this point
Commits on Sep 4, 2017
Update tests.rst
kennethreitz
authored
223cfa9
View commit details
Copy full SHA for 223cfa9
View code at this point
Browse repository at this point
Update tests.rst
kennethreitz
authored
6305cef
View commit details
Copy full SHA for 6305cef
View code at this point
Browse repository at this point
Update tests.rst
kennethreitz
authored
9c0c28d
View commit details
Copy full SHA for 9c0c28d
View code at this point
Browse repository at this point
Commits on May 8, 2017
pytest url fix
Show description for 62956e9
sbstn mssr
authored
62956e9
View commit details
Copy full SHA for 62956e9
View code at this point
Browse repository at this point
Commits on Nov 22, 2016
update tox docs url
caimaoy
committed
1b2a943
View commit details
Copy full SHA for 1b2a943
View code at this point
Browse repository at this point
Commits on Sep 21, 2016
Convert readthedocs links for their .org -> .io migration for hosted projects
Show description for af7d603
Adam Chainz
committed
af7d603
View commit details
Copy full SHA for af7d603
View code at this point
Browse repository at this point
Commits on Jun 21, 2016
Clean up of tests.rst
kikisdeliveryservice
committed
122f67b
View commit details
Copy full SHA for 122f67b
View code at this point
Browse repository at this point
Commits on Mar 24, 2016
Changed summary line of docstring to follow PEP 0257 - update
Show description for 02d68a8
remcodraijer
committed
02d68a8
View commit details
Copy full SHA for 02d68a8
View code at this point
Browse repository at this point
Changed summary line of docstring to follow PEP 0257
Show description for 6b4d013
remcodraijer
committed
6b4d013
View commit details
Copy full SHA for 6b4d013
View code at this point
Browse repository at this point
Commits on Mar 1, 2015
Corrected lines to be no longer than 78 characters
Vincent Zee
committed
7e38515
View commit details
Copy full SHA for 7e38515
View code at this point
Browse repository at this point
Commits on Jan 5, 2015
Fix minor type in tests.rst: is -> in
grdryn
committed
aa951a1
View commit details
Copy full SHA for aa951a1
View code at this point
Browse repository at this point
Commits on Dec 6, 2014
copy edits
Mary Brennan
committed
db1a94f
View commit details
Copy full SHA for db1a94f
View code at this point
Browse repository at this point
Commits on Jun 17, 2014
Minor fixes for writing/tests.
rshipp
committed
e7f0d1f
View commit details
Copy full SHA for e7f0d1f
View code at this point
Browse repository at this point
Commits on May 25, 2014
Changed python into Python where needed
svisser
committed
71187f4
View commit details
Copy full SHA for 71187f4
View code at this point
Browse repository at this point
Commits on Apr 15, 2014
Revise Unittest section description
kuyan
committed
2cff35e
View commit details
Copy full SHA for 2cff35e
View code at this point
Browse repository at this point
Wrap lines at 78 char as much as possible.
kuyan
committed
1800feb
View commit details
Copy full SHA for 1800feb
View code at this point
Browse repository at this point
Use :mod: tag for modules
kuyan
committed
00ebb59
View commit details
Copy full SHA for 00ebb59
View code at this point
Browse repository at this point
Commits on Apr 14, 2014
Revised semantics in section 'mock'
kuyan
committed
ef998ac
View commit details
Copy full SHA for ef998ac
View code at this point
Browse repository at this point
Commits on Mar 31, 2014
writing/tests.rst: Unbold “``mock``”
Zearin
committed
fe8e11c
View commit details
Copy full SHA for fe8e11c
View code at this point
Browse repository at this point
Commits on Mar 28, 2014
docs/**: Specify language for code-blocks (syntax highlighting! mmm…)
Zearin
committed
1e4b4a5
View commit details
Copy full SHA for 1e4b4a5
View code at this point
Browse repository at this point
Commits on Mar 15, 2014
Add link to stdlib mock
sigmavirus24
committed
eec3632
View commit details
Copy full SHA for eec3632
View code at this point
Browse repository at this point
Add note about mock in Python 3.3
Show description for f579b1d
sigmavirus24
committed
f579b1d
View commit details
Copy full SHA for f579b1d
View code at this point
Browse repository at this point
Commits on Mar 13, 2014
Update tests.rst
Show description for 0506020
nelsonjchen
committed
0506020
View commit details
Copy full SHA for 0506020
View code at this point
Browse repository at this point
Commits on Feb 22, 2014
"faster on tracks" => "back on track faster"
hammer
committed
ca240c2
View commit details
Copy full SHA for ca240c2
View code at this point
Browse repository at this point
Commits on Aug 12, 2013
Minor wording correction and changed some code-block tags to be python
Duta
committed
18c3e05
View commit details
Copy full SHA for 18c3e05
View code at this point
Browse repository at this point
Commits on Aug 4, 2013
Use code tags where needed.
kuyan
committed
0fd1b7a
View commit details
Copy full SHA for 0fd1b7a
View code at this point
Browse repository at this point
Commits on Jul 30, 2013
Declare code block language, fix formatting
kuyan
committed
6753406
View commit details
Copy full SHA for 6753406
View code at this point
Browse repository at this point
Use the :pep: tag instead of directly linking PEPs
kuyan
committed
b6f0143
View commit details
Copy full SHA for b6f0143
View code at this point
Browse repository at this point
Commits on Jul 20, 2013
Fix link to tox documentation.
rvanlaar
committed
93cb68e
View commit details
Copy full SHA for 93cb68e
View code at this point
Browse repository at this point
Commits on Jun 22, 2013
minor formatting changes.
artloder
committed
8d6f737
View commit details
Copy full SHA for 8d6f737
View code at this point
Browse repository at this point
Commits on Mar 1, 2013
minor typos
barisumog
committed
f7c306e
View commit details
Copy full SHA for f7c306e
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.