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

tests: updated outdated data #385

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
33 changes: 20 additions & 13 deletions tests/results/10
@@ -1,16 +1,23 @@
# How do I copy a file in Python?
# [`shutil`][1] has many methods you can use. One of which is:
# 
# shutil (http://docs.python.org/3/library/shutil.html) has many methods
# you can use. One of which is:

from shutil import copyfile

copyfile(src, dst)

# Copy the contents of the file named src to a file named dst. The
# destination location must be writable; otherwise, an IOError exception
# will be raised. If dst already exists, it will be replaced. Special
# files such as character or block devices and pipes cannot be copied
# with this function. src and dst are path names given as strings.
# ```
# from shutil import copyfile
# copyfile(src, dst)
# ```
# 
 # - Copy the contents of the file named **src** to a file named
# **dst**.
 # - The destination location must be writable; otherwise, an
# **IOError** exception will be raised.
 # - If **dst** already exists, it will be replaced.
 # - Special files such as character or block devices and pipes cannot
# be copied with this function.
 # - With **copy**, **src** and **dst** are path names given as
# __strings__.
# 
# If you use `os.path` operations, use `copy` rather than `copyfile`.
# `copyfile` will only accept strings.
# 
 # [1]: http://docs.python.org/3/library/shutil.html
# 
# [Swati] [so/q/123198] [cc by-sa 3.0]
2 changes: 0 additions & 2 deletions tests/results/11
@@ -1,3 +1 @@
from shutil import copyfile

copyfile(src, dst)
2 changes: 0 additions & 2 deletions tests/results/12
@@ -1,3 +1 @@
from shutil import copyfile

copyfile(src, dst)
1,460 changes: 738 additions & 722 deletions tests/results/15

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions tests/results/16
Expand Up @@ -2,15 +2,15 @@

1ns Main memory reference: Send 2,000 bytes Read 1,000,000 bytes
▗▖ 100ns over commodity network: sequentially from SSD:
▗▖ 31ns 38.876us
▗▖ 15ns 24.49us
L1 cache reference: 1ns ▗ ▗ 
▗▖ 1.0us
▗▖▗▖▗▖▗▖▗▖▗▖▗▖▗▖▗▖▗▖ SSD random read: 16.0us Disk seek: 2.332582ms
▗▖▗▖▗▖▗▖▗▖▗▖▗▖▗▖▗▖▗▖ SSD random read: 16.0us Disk seek: 2.03063ms
Branch mispredict: 3ns  ▗▖▗ ▗▖▗▖ 
▗▖▗▖▗▖ 
Compress 1KB wth Snappy: Read 1,000,000 bytes Read 1,000,000 bytes
L2 cache reference: 4ns 2.0us sequentially from memory: sequentially from disk:
▗▖▗▖▗▖▗▖ ▗▖▗▖▗▖▗▖▗▖▗▖▗▖▗▖▗▖▗▖ 2.355us 717.936us
▗▖▗▖▗▖▗▖ ▗▖▗▖▗▖▗▖▗▖▗▖▗▖▗▖▗▖▗▖ 1.483us 544.094us
▗▖▗▖▗▖▗▖▗▖▗▖▗▖▗▖▗▖▗▖ ▗ ▗ 
Mutex lock/unlock: 16ns  
▗▖▗▖▗▖▗▖▗▖▗▖▗▖▗▖▗▖▗▖  Round trip Packet roundtrip
Expand Down